import request from '../util/request.js'

export function loadGoodsList(params={}) {
    return request({
        url:`goods`,
        method:"GET",
        params:params
    });
}

export function loadGoodInfo(id) {
    return request({
        url:`goods/${id}`,
        method:"GET",
    });
}